package GreetingService;

/**
 * Created by IntelliJ IDEA.
 * User: Irina
 * Date: 06.10.12
 * Time: 2:02
 * To change this template use File | Settings | File Templates.
 */
public class GreetingServiceImpl implements GreetingService{
    private String greeting;
    public GreetingServiceImpl() {}
    public GreetingServiceImpl(String greeting) {
        this.greeting = greeting;
    }
    public void sayGreeting() {
        System.out.println(greeting);
    }
    public void setGreeting(String greeting) {
        this.greeting = greeting;
    }
}
